<?php exit;
//获取初始设置值:
if (!isset($theadext_table)) $theadext_table = $ghx_cache->get_share_var(VAR_THREADEXT_TB);
if (!isset($TitleImgCfg)) $TitleImgCfg = array();
if (!isset($TitleImgEnable)) $TitleImgEnable = IsEnableTitleImg($TitleImgCfg);
if (!isset($IsPostFlagEnable)) $IsPostFlagEnable = GetPostFlagEnable();
if (!isset($LabelCfg)) $LabelCfg = &GetPluginCfgNode('Label');
if (!isset($AutoPickupKeyWordCfg)) $AutoPickupKeyWordCfg = &GetPluginCfgNode('AutoPickupKeyWord');
if (!isset($IsThreadExtension)) $IsThreadExtension = IsThreadExtensionAuthGroup($gid);
if (!isset($IsAdjustPostSortRank)) $IsAdjustPostSortRank = (IsAdjustPostSortRankAuthGroup($gid) and $IsThreadExtension);
if (!isset($IsAdjustViewTemplate)) $IsAdjustViewTemplate = (IsAdjustViewTemplateAuthGroup($gid) and $IsThreadExtension);

if(($action == 'create' || $action == 'update') && $method == 'GET') {
    if($IsPostFlagEnable){
        $PostFlagsMarkData = GetViewPostFlags($uid,'mark');
    }
}